Optimal. Leaf size=27 \[ -\frac {(a+b) \coth (c+d x)}{d}-\frac {b \tanh (c+d x)}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {4132, 14} \[ -\frac {(a+b) \coth (c+d x)}{d}-\frac {b \tanh (c+d x)}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 4132
Rubi steps
\begin {align*} \int \text {csch}^2(c+d x) \left (a+b \text {sech}^2(c+d x)\right ) \, dx &=\frac {\operatorname {Subst}\left (\int \frac {a+b-b x^2}{x^2} \, dx,x,\tanh (c+d x)\right )}{d}\\ &=\frac {\operatorname {Subst}\left (\int \left (-b+\frac {a+b}{x^2}\right ) \, dx,x,\tanh (c+d x)\right )}{d}\\ &=-\frac {(a+b) \coth (c+d x)}{d}-\frac {b \tanh (c+d x)}{d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 37, normalized size = 1.37 \[ -\frac {a \coth (c+d x)}{d}-\frac {b \tanh (c+d x)}{d}-\frac {b \coth (c+d x)}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.40, size = 91, normalized size = 3.37 \[ -\frac {4 \, {\left ({\left (a + b\right )} \cosh \left (d x + c\right ) - b \sinh \left (d x + c\right )\right )}}{d \cosh \left (d x + c\right )^{3} + 3 \, d \cosh \left (d x + c\right ) \sinh \left (d x + c\right )^{2} + d \sinh \left (d x + c\right )^{3} - d \cosh \left (d x + c\right ) + {\left (3 \, d \cosh \left (d x + c\right )^{2} + d\right )} \sinh \left (d x + c\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 34, normalized size = 1.26 \[ -\frac {2 \, {\left (a e^{\left (2 \, d x + 2 \, c\right )} + a + 2 \, b\right )}}{d {\left (e^{\left (4 \, d x + 4 \, c\right )} - 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.38, size = 44, normalized size = 1.63 \[ \frac {-\coth \left (d x +c \right ) a +b \left (-\frac {1}{\sinh \left (d x +c \right ) \cosh \left (d x +c \right )}-2 \tanh \left (d x +c \right )\right )}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.33, size = 39, normalized size = 1.44 \[ \frac {2 \, a}{d {\left (e^{\left (-2 \, d x - 2 \, c\right )} - 1\right )}} + \frac {4 \, b}{d {\left (e^{\left (-4 \, d x - 4 \, c\right )} - 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.38, size = 34, normalized size = 1.26 \[ -\frac {2\,\left (a+2\,b+a\,{\mathrm {e}}^{2\,c+2\,d\,x}\right )}{d\,\left ({\mathrm {e}}^{4\,c+4\,d\,x}-1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a + b \operatorname {sech}^{2}{\left (c + d x \right )}\right ) \operatorname {csch}^{2}{\left (c + d x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________